package com.zt.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;
import lombok.Data;

/**
 * @TableName courses
 */
@TableName(value ="courses")
@Data
public class Courses implements Serializable {
    private Integer id;

    private String title;

    private String description;

    private Integer teacherId;

    private Integer subjectId;

    private BigDecimal price;

    private BigDecimal originalPrice;

    private String coverImage;

    private Integer status;

    private Date createdAt;

    private Date updatedAt;

    private static final long serialVersionUID = 1L;
}